package com.ocl.www.inter;

import match.Matching;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/featureInter")
public class LoadFeatureInter {

	/**
	 * discrip:加载一个特征值文件
	 * @return
	 */
	@RequestMapping(value = "/loadFeature", method = RequestMethod.POST)
	public boolean loadFeature() {
		boolean boo = false;
		
		
		
		return boo;
	}
	/**
	 * discrip:加载多个特征值文件
	 * @return
	 */
	@RequestMapping(value = "/loadFeatures", method = RequestMethod.POST)
	public boolean loadFeatures() {
		boolean boo = false;
		
		
		
		return boo;
	}
	
	/**
	 * discrip:加载全部特征值文件
	 * @return
	 */
	@RequestMapping(value = "/loadAllFeatures", method = RequestMethod.GET)
	public boolean loadAllFeatures() {

		boolean boo = false;

//		if(!Matching.manageFile()){System.out.println("manageFile 执行失败：false");return boo;}
//
//		if(!Matching.extractFeature()){System.out.println("extractFeature 执行失败：false");return boo;}

		return Matching.loadFeatures();

	}

}
